<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // https://www.jianshu.com/p/da36dae0ede5    (原型对象和对象原型)
    // 函数有点特别，它不仅是个函数，还是个对象。所以它也有 __proto__ 属性。因为函数是内置构造函数 Function 的实例：
    function Test() {}
    const test = new Test()
    let bool = test.__proto__ == Test.prototype
    console.log(test.__proto__)
    console.log(Test.prototype)
    console.log(bool)
  </script>
</body>

</html>